import React from 'react'
import {HashRouter,Switch,Route } from "react-router-dom"
import Home from "../index/Home"
import About from "../index/About"

class Router extends React.Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  render () {
    return(
        <div>
 <HashRouter>
            <Switch>
                <Route path="/About/:a/:b/:c" component={About}/>
                <Route path="/" component={Home}/>
            </Switch>
        </HashRouter>
        </div>
       
    )
  }
}

export default Router